const { Sequelize } = require('sequelize');
const config=require('../config')
const db={}
const sequelize=new Sequelize(
    config.db.database,
    config.db.username,
    config.db.password,
    config.db.options,
)
const User=sequelize.import('./User.js')
db.Sequelize=Sequelize
db.sequelize=sequelize
db.User=User
module.exports=db

